class CreateAppointments < ActiveRecord::Migration
  def change
    create_table :appointments do |t|
      t.integer :patient_id
      t.integer :staff_id
      t.date :date_appointment
      t.time :time_appointment
      t.integer :appointment_status_id
      t.integer :registration_method_id
      t.integer :created_by
      t.integer :updated_by

      t.timestamps
    end
  end
end
